import checker from "vite-plugin-checker";

/** @type {import("vite").UserConfig} */
export default {
	plugins: [ checker({ typescript: true }) ],
	server: {
		host: '0.0.0.0',
		hmr: true, // Change this line to false disable auto-refreshing.
		allowedHosts: ['1fd64ce47e03466eab609ea1b3bf405f--3000.ap-shanghai.cloudstudio.club', 'localhost']
	}
}
